{% extends "cw/base.html" %}

{% block title %}Courses{% endblock %}

{% block content %}

  Courses {{ courses }}
  {% if courses %}
    <ul>
    {% for course in courses %}
        <li><p><h4>{{ course.title }}</h4>
        	{{ course.description_html|safe }}
        	<a href="{{ course.get_absolute_url }}">{{ course.title }}</a>
        	</p>
        </li>
    {% endfor %}
    </ul>
  {% else %}
    <p>No courses.</p>
  {% endif %}

{% endblock %}

